package com.libraryManage.service;

import com.libraryManage.commons.utils.ResponseEntity;
import com.libraryManage.entity.BookHomeDo;
import com.libraryManage.entity.HomePageDo;
import com.libraryManage.entity.ManagerDo;

import java.util.List;

public interface HomePageService {

    /**
     * 获取首页信息
     * @return
     */
    ResponseEntity<HomePageDo> getHomepage();

    /**
     * 随机获取图书列表
     * @return
     */
    ResponseEntity<List<BookHomeDo>> getBookData();

    /**
     * 获取用户信息
     * @param managerDo
     * @return
     */
    ResponseEntity<ManagerDo> getUserData(ManagerDo managerDo);
}
